extends layout

block content
	.api-documentation
		h2 Greenscreen API Documentation
		.endpoint
			.caption.title User Check-in
			.table-body
				.row
					.cell.span-one-third.bold Description
					.cell.span-two-thirds Start user photo upload session when attendant scans QR code
				.row
					.cell.span-one-third.bold Type
					.cell.span-two-thirds POST 
				.row
					.cell.span-one-third.bold End Point
					.cell.span-two-thirds /api/sessionstart
				.row
					.cell.span-full.colspan.bold Parameter(s)
				.row
					.cell.span-one-third.italic Name
					.cell.span-one-third.italic Description
					.cell.span-one-third.italic Value(s)
				.row
					.cell.span-one-third telephone
					.cell.span-one-third Telephone number of user to be checked in
					.cell.span-one-third String
				.row
					.cell.span-one-third.bold Response Code
					.cell.span-two-thirds 200 OK
				.row
					.cell.span-one-third.bold Response Body
					.cell.span-two-thirds.response-body {</br>&nbsp;&nbsp;&nbsp;&nbsp; "telephone" : "18599238565",</br>&nbsp;&nbsp;&nbsp;&nbsp; "message" : "user checked in",</br>}
		.endpoint
			.caption.title Get User Data
			.table-body
				.row
					.cell.span-one-third.bold Description
					.cell.span-two-thirds Get user photo with green background when user enters photo gallery
				.row
					.cell.span-one-third.bold Type
					.cell.span-two-thirds POST 
				.row
					.cell.span-one-third.bold End Point
					.cell.span-two-thirds /api/photo
				.row
					.cell.span-full.colspan.bold Parameter(s)
				.row
					.cell.span-one-third.italic Name
					.cell.span-one-third.italic Description
					.cell.span-one-third.italic Value(s)
				.row
					.cell.span-one-third telephone
					.cell.span-one-third Telephone number of user
					.cell.span-one-third String
				.row
					.cell.span-one-third.bold Response Code
					.cell.span-two-thirds 200 OK
				.row
					.cell.span-one-third.bold Response Body
					.cell.span-two-thirds.response-body {</br>&nbsp;&nbsp;&nbsp;&nbsp; "imagePath" : "images/uploads/18599238565.jpg",</br>}
